/*
 * Copyright (c) 2006, 2023, webrx.cn All rights reserved.
 *
 */
package org.sdemo;

public class B extends A{
    static{
        System.out.println("B static{}");

    }
    {
        System.out.println("B初始化块{}");
    }
    B(){
        //super();
        //super(5);
        super(5,"李四",18);
        System.out.println("B(子类构造方法)");
        System.out.println(this.age);
        System.out.println(age);
        System.out.println(super.age);
    }
}
